import com.gcteamo.coj.config as config
import com.gcteamo.coj.server as server
import com.gcteamo.coj.task as task
import asyncio


async def Main():
    ### 程序入口
    config.logger.info("COJ Behind , VersionCode={vercode}".format(vercode=config.COJ_CONFIG_VERSION))
    await config.db.Init()
    ### task.Init()
    await server.Init()

if __name__ == '__main__':
    asyncio.run(Main())